import javax.json.bind.annotation.JsonbDateFormat;
import javax.json.bind.annotation.JsonbNumberFormat;
import javax.json.bind.annotation.JsonbProperty;
import javax.json.bind.annotation.JsonbTransient;
import java.math.BigDecimal;



public class OpenidDTO {

    // 为了使用jsonb,必须有一个空的默认构造方法
    public OpenidDTO() {

    }

    public OpenidDTO(String Error, String Message, String Openid, String Access_token) {
        this.Error = Error;
        this.Message = Message;
        this.Openid = Openid;
        this.Access_token = Access_token;

    }
    private int id;


    @JsonbProperty("error")
    private String Error;


    @JsonbProperty("message")
    private String Message;


    @JsonbProperty("openid")
    private String Openid;


    @JsonbProperty("access_token")
    private String Access_token;




    @JsonbNumberFormat(locale = "en_US", value = "#0.0")


    public String getError() {
        return Error;
    }

    public void setError(String Error) {
        this.Error = Error;
    }

    public String getMessage() {
        return Message;
    }

    public void setMessage(String Message) {
        this.Message = Message;
    }

    public String getOpenid() {
        return Openid;
    }

    public void setOpenid(String Openid) {
        this.Openid = Openid;
    }

    public String getAccess_token() {
        return Access_token;
    }

    public void setAccess_token(String Access_token) {
        this.Access_token = Access_token;
    }


}
